<template>
  <NavBar></NavBar>
  <router-view v-slot="{ Component, route }">
    <keep-alive>
      <component :is="Component" :key="route.meta.usePathKey ? route.path : undefined" />
    </keep-alive>
  </router-view>
</template>
<script setup>
import  NavBar from './components/NavBar.vue';
</script>
<style lang="less" scoped>

</style>
<style>
body {
  overflow: hidden;
}
</style>